package cn.lili.modules.order.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.order.order.entity.dos.Trade;
import cn.lili.modules.order.trade.client.TradeClient;
import cn.lili.modules.payment.entity.dto.PaymentCallback;

/**
 * @author: ftyy
 * @date: 2022-01-17 11:08
 * @description: 交易Fallback
 */
public class TradeFallback implements TradeClient {
    @Override
    public Trade getBySn(String sn) {
        throw new ServiceException();
    }

    @Override
    public void paymentCallback(PaymentCallback paymentCallback) {
        throw new ServiceException();
    }

    @Override
    public void paymentCallbackZero(String sn) {
        throw new ServiceException();
    }

    @Override
    public void scheduledCancel() {
        throw new ServiceException();
    }
}
